package com.jxin.mall.member.fallback;

import com.jxin.mall.member.feign.WeiXinAppServiceFeign;
import com.jxin.mall.weixin.service.entity.App;
import org.springframework.stereotype.Component;

/**
 * 微信接口熔断服务降级实现类
 * @author 蔡佳新
 * @date 2019/5/27 23:22
 * @since 1.0
 */
@Component
public class WeiXinAppServiceFallback implements WeiXinAppServiceFeign {
    @Override
    public App getApp() {
        return App.builder().appName("服务降级").build();
    }
}
